﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SilverlightGraph.Graph
{
    public class Label
    {
        string _name;
        double _x, _y;
        double _width;

        public Label()
        {
            this._name = "";
            this._x = 0.0;
            this._y = 0.0;
            this._width = 0.0;
        }

        public Label(string name, double x, double y, double width)
        {
            this._name = name;
            this._x = x;
            this._y = y;
            this._width = width;
        }

        public string Text
        {
            get { return _name; }
            set { _name = value; }
        }

        public double X
        {
            get { return _x; }
            set { _x = value; }
        }

        public double Y
        {
            get { return _y; }
            set { _y = value; }
        }

        public double Width
        {
            get { return _width; }
            set { _width = value; }
        }
    }
}
